from server import Base, engine

from model.group_model import GroupModel
from model.match_model import MatchModel
from model.player_model import PlayerModel
from model.score_model import ScoreModel
from model.user_model import UserModel

if __name__ == '__main__':
    # 删除所有数据
    Base.metadata.drop_all(bind=engine)
    # 创建表，需要传入创建连接的对象
    Base.metadata.create_all(bind=engine)